package com.sunshine.design.singleton;

/**
 * 懒汉式，线程不安全
 *
 * @author weihong
 * @date 2021/1/7 9:26
 */
public class SingletonTest {
    public static void main(String[] args) {
        EnumSingleton instance = EnumSingleton.INSTANCE;
        instance.whateverMethod();
    }
}
